import fetch from 'common/src/utils/fetch'
// 获取激活说明列表
export function getActivityExplainList(data = {}) {
    return fetch({
        url: '/api/studentservice/activationSetting/activationList',
        method: 'get',
        headers: { 'Content-Type': 'application/json' },
        data
    })
}
// 添加激活说明
export function addActivityExplainList(data = {}) {
    return fetch({
        url: '/api/studentservice/activationSetting/addActivation',
        method: 'post',
        headers: { 'Content-Type': 'application/json' },
        data
    })
}
// 修改激活说明
export function updateActivityExplain(data = {}) {
    return fetch({
        url: '/api/studentservice/activationSetting/updateActivationBycode',
        method: 'put',
        headers: { 'Content-Type': 'application/json' },
        data
    })
}
// 删除激活说明
export function deleteActivityExplain(data = '') {
    return fetch({
        url: `/api/studentservice/activationSetting/delActivation?activationCode=${data}`,
        method: 'delete',
        headers: { 'Content-Type': 'application/json' }
    })
}
// 获取激活学生列表
export function getActivityStudentList(data = {}) {
    return fetch({
        url: '/api/studentservice/studentActivation/findStuActInfoList',
        method: 'post',
        headers: { 'Content-Type': 'application/json' },
        data
    })
}